<?php
/**
 * Обработчик события "Удалить". 
 *
 * @package default
 * @author Alexander Sibiryakov
 **/
class DeleteEventHandler extends EventHandler 
{
	public $sm_db;
	
	private $oid;
	
	public function fetchData() {
		$this->oid = $this->event->oid;
	}
	
	public function createElements(DOMDocument $dom ) {

		$chlds = array();
		$chlds[] = $dom->createElement("id", $this->oid);
		return $chlds;
	}
	
} // END class 